package com.example.base.mapper;

import com.example.base.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    void insertUser(User user, Integer uid);
    List<User> getAllUser();
    User getUserByEmail(String email);
}